package niit.wei.service;

import niit.wei.entity.Category;

import java.sql.SQLException;
import java.util.List;

public interface CategoryService {
    List<Category> findAll() throws SQLException, ClassNotFoundException, NoSuchFieldException, InstantiationException, IllegalAccessException;

    Category findById(Integer categoryId) throws SQLException, ClassNotFoundException, NoSuchFieldException, InstantiationException, IllegalAccessException;
}
